package cn.iocoder.yudao.module.handguard.controller.admin.product.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 产品管理 Excel 导出 Request VO，参数和 ProductPageReqVO 是一致的")
@Data
public class ProductExportReqVO {

    @Schema(description = "产品名称", example = "芋艿")
    private String productName;

    @Schema(description = "图标")
    private String iconStr;

    @Schema(description = "最高贷款额度")
    private BigDecimal maxAmount;

    @Schema(description = "年利息")
    private BigDecimal annualInterest;

    @Schema(description = "贷款期限")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] loanTime;

    @Schema(description = "产品类型：1.按揭房信贷(抵押贷)\n" +
            "2.保单贷(信贷)\n" +
            "3.个人贴息贷款(信贷)\n" +
            "4.工薪贷(信贷)\n" +
            "5.公积金贷(信贷)\n" +
            "6.企业贴息贷款(信贷)\n" +
            "7.全款车按揭车信贷(抵押贷)\n" +
            "8.商业商住楼写字楼厂房一抵押(抵押贷)\n" +
            "9.商业商住楼写字楼二次抵押(抵押贷)\n" +
            "10.商业写字楼按揭贷款(抵押贷)\n" +
            "11.税贷(信用贷)\n" +
            "12.企业流水贷(信用贷)\n" +
            "13.企业发票贷(信用贷)\n" +
            "14.住宅按揭贷款(抵押贷)\n" +
            "15.住宅抵押(抵押贷)\n" +
            "16.住宅二次抵押(抵押贷", example = "2")
    private String productType;

    @Schema(description = "产品标签")
    private String productLable;

    @Schema(description = "产品介绍")
    private String productIntroduce;

    @Schema(description = "产品图片")
    private String productImg;

    @Schema(description = "帐号状态（0正常 1停用）", example = "2")
    private Byte status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
